package com.amsp.oa.oademo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@ApiModel("新员工实习资料表VO")
public class InternInfoVO {
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("工号")
    private String employeeId;

    @ApiModelProperty("部门")
    private String department;

    @ApiModelProperty("职位")
    private String position;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("年龄")
    private String age;

    @ApiModelProperty("学历")
    private String education;

    @ApiModelProperty("政治面貌")
    private String politicalStatus;

    @ApiModelProperty("工作经历")
    private String workExperience;

    @ApiModelProperty("入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate entryDate;

    @ApiModelProperty("试用期结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate probationEndDate;

    @ApiModelProperty("实习开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate internshipStartDate;

    @ApiModelProperty("实习结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate internshipEndDate;

    @ApiModelProperty("实习期间表现项")
    private List<Item> items;

    @ApiModelProperty("实习期间表现JSON")
    private String itemsJson;

    @ApiModelProperty("意见")
    private String opinion;

    @ApiModelProperty("组长签名")
    private String groupLeaderApprover;

    @ApiModelProperty("主管签名")
    private String presidentApprover;

    @Data
    public static class Item {
        @ApiModelProperty("问题")
        private String question;

        @ApiModelProperty("答案")
        private String answer;
    }
}